<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
{% load static %}
<body style="background-image: url({% static 'images/pa.jpg' %});background-repeat:no-repeat;">
<div style="position: absolute; top: 17px; left: 500px;">
    <form action="{% url 'ArticleManage:download' %}" method="post">
        {% csrf_token %}
        <input type="text" name="download_type"style="width: 300px;height: 40px; -moz-border-radius: 10px; -webkit-border-radius: 10px;border-color: #0080ff" placeholder="论文类型" required autofocus autocomplete="off"><br>
        <label>起始年份</label>
        <select name="start_time">
            <option value="2010-1-1">2010</option>
            <option value="2011-1-1">2011</option>
            <option value="2012-1-1">2012</option>
            <option value="2013-1-1">2013</option>
            <option value="2014-1-1">2014</option>
            <option value="2015-1-1">2015</option>
            <option value="2016-1-1">2016</option>
            <option value="2017-1-1">2017</option>
            <option value="2018-1-1">2018</option>
            <option value="2019-1-1">2019</option>
            <option value="2020-1-1">2020</option>
            <option value="2021-1-1">2021</option>
        </select>
    <select name="end_time">
            <option value="2011-1-1">2011</option>
            <option value="2012-1-1">2012</option>
            <option value="2013-1-1">2013</option>
            <option value="2014-1-1">2014</option>
            <option value="2015-1-1">2015</option>
            <option value="2016-1-1">2016</option>
            <option value="2017-1-1">2017</option>
            <option value="2018-1-1">2018</option>
            <option value="2019-1-1">2019</option>
            <option value="2020-1-1">2020</option>
            <option value="2021-1-1">2021</option>
    </select>
        <input type="submit" value="点击爬取" class="greenbtn publish">
    </form>
    <h2 style="color: red;">{{ type_error }}</h2>
</div>
</body>
</html>